if(CMAKE_HOST_WIN32)
set(KMPKG_TARGET_ARCHITECTURE x64)
set(KMPKG_CRT_LINKAGE static)
set(KMPKG_LIBRARY_LINKAGE dynamic)
elseif(CMAKE_HOST_APPLE)
set(KMPKG_TARGET_ARCHITECTURE x64)
set(KMPKG_CRT_LINKAGE dynamic)
set(KMPKG_LIBRARY_LINKAGE static)

set(KMPKG_CMAKE_SYSTEM_NAME Darwin)
set(KMPKG_OSX_ARCHITECTURES x86_64)
else()
set(KMPKG_TARGET_ARCHITECTURE x64)
set(KMPKG_CRT_LINKAGE dynamic)
set(KMPKG_LIBRARY_LINKAGE static)

set(KMPKG_CMAKE_SYSTEM_NAME Linux)
endif()
